package com.dzpk.gameserver.conf;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SystemConfig {

    protected final static Logger log = LoggerFactory.getLogger((SystemConfig.class));

    private long serverId = -1;

    private boolean toLogServer = false;

    private boolean enableGameMaster = false;

    private boolean sendDevicePush = false;

    private int shutdownDelay;

    private int platformGameId;

    private int shutdownInterval;

    private String useGmFile;

    private int looptime;
    private int maxGlobalBabelNum;

    private SystemConfig() {

    }

    public String getUseGmFile() {
        return useGmFile;
    }

    public void setUseGmFile(String useGmFile) {
        this.useGmFile = useGmFile;
    }

    public boolean isEnableGameMaster() {
        return enableGameMaster;
    }

    public int getPlatformGameId() {
        return platformGameId;
    }

    public void setPlatformGameId(int platformGameId) {
        this.platformGameId = platformGameId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public boolean isToLogServer() {
        return toLogServer;
    }

    public void setToLogServer(boolean toLogServer) {
        this.toLogServer = toLogServer;
    }

    public boolean isEnableGMCommand() {
        return enableGameMaster;
    }

    public void setEnableGameMaster(boolean enableGameMaster) {
        this.enableGameMaster = enableGameMaster;
    }

    public int getShutdownDelay() {
        return shutdownDelay;
    }

    public void setShutdownDelay(int shutdownDelay) {
        this.shutdownDelay = shutdownDelay;
    }

    public int getShutdownInterval() {
        return shutdownInterval;
    }

    public void setShutdownInterval(int shutdownInterval) {
        this.shutdownInterval = shutdownInterval;
    }

    public boolean isSendDevicePush() {
        return sendDevicePush;
    }

    public void setSendDevicePush(boolean sendDevicePush) {
        this.sendDevicePush = sendDevicePush;
    }

    public int getLooptime() {
        return looptime;
    }

    public void setLooptime(int looptime) {
        this.looptime = looptime;
    }

    public int getMaxGlobalBabelNum() {
        return maxGlobalBabelNum;
    }

    public void setMaxGlobalBabelNum(int maxGlobalBabelNum) {
        this.maxGlobalBabelNum = maxGlobalBabelNum;
    }

}
